package com.shop.car.domain;

import com.shop.common.core.annotation.Excel;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.math.BigDecimal;

/**
 * @Author：作者姓名
 * @Package：com.shop.car.domain
 * @Project：Shop
 * @name：ShopCar
 * @Date：2024/6/21 11:43
 */
public class ShopCar {

    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long carId;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private Long userId;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private Long carSelectedNum;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private BigDecimal carSelectedMoney;

    public void setCarId(Long carId)
    {
        this.carId = carId;
    }

    public Long getCarId()
    {
        return carId;
    }
    public void setUserId(Long userId)
    {
        this.userId = userId;
    }

    public Long getUserId()
    {
        return userId;
    }
    public void setCarSelectedNum(Long carSelectedNum)
    {
        this.carSelectedNum = carSelectedNum;
    }

    public Long getCarSelectedNum()
    {
        return carSelectedNum;
    }
    public void setCarSelectedMoney(BigDecimal carSelectedMoney)
    {
        this.carSelectedMoney = carSelectedMoney;
    }

    public BigDecimal getCarSelectedMoney()
    {
        return carSelectedMoney;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("carId", getCarId())
                .append("userId", getUserId())
                .append("carSelectedNum", getCarSelectedNum())
                .append("carSelectedMoney", getCarSelectedMoney())
                .toString();
    }
}
